package com.wang.mall.service;

import com.wang.mall.bean.SysUserRole;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface SysUserRoleService extends IService<SysUserRole>{


    int deleteBatch(Long[] roleIds);

    void saveOrUpdate(Long userId, List<Long> roleIdList);

    List<Long> queryRoleIdList(Long userId);
}
